package com.zmwx.auth.domain.convert;


import com.zmwx.auth.domain.entityDO.AuthRoleBO;
import com.zmwx.auth.infra.basic.entity.AuthRole;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 标签dto的转化
 */
@Mapper
public interface AuthRoleBOToConverter {
    AuthRoleBOToConverter INSTANCE = Mappers.getMapper(AuthRoleBOToConverter.class);
    AuthRole convertBOToEntity(AuthRoleBO authRoleBO);
    AuthRoleBO convertToBo(AuthRole authRole);

}
